home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-21 / winsize.tec < prev    next >
Text File  |  1991-07-29  |  8KB  |  160 lines

  1. ID:WZ Maximizing Window Size in DESQview
  2. Quarterdeck Technical Note #161
  3. by Dan Sallitt
  4.  
  5. First, the basics.  If you have any kind of expanded memory or if 
  6. you have extended memory and have placed DESQview's QEXT.SYS 
  7. driver in your config.sys file, you should be starting DESQview 
  8. with DV.COM or XDV.COM instead of DV.EXE.  Most users have a 
  9. DV.COM file in their DESQview directory, either because the 
  10. DESQview Install program placed it there or because of the 
  11. recommendation in our documentation that XDV.COM be renamed to 
  12. DV.COM.  In this case you can simply type DV at the DOS prompt 
  13. and be assured that the .COM file is being used.  However, some 
  14. users do not have a copy of DV.COM in their DESQview directory 
  15. and start DESQview with the DV.EXE file instead of the XDV.COM 
  16. loader.  Failure to start DESQview with the .COM file is a 
  17. possible reason that window size may fall short of the user's 
  18. expectations.
  19.  
  20. If you are starting DESQview with the proper executable file and 
  21. you still can't open a window as large as you think you should be 
  22. able to (our documentation includes a table that gives you an 
  23. idea of what to expect), there are several common reasons.
  24.  
  25. 1) Drivers and terminate-and-stay-resident programs (TSR's) 
  26. loaded before DESQview may be taking more memory than you expect. 
  27.  
  28. The amount of memory available to a window inside DESQview 
  29. decreases as more memory is used up before DESQview; this is true 
  30. no matter how much extended or expanded memory is on the system.  
  31. If you want to decrease this overhead, you have a few options.
  32.      
  33.      a) Streamline your CONFIG.SYS and AUTOEXEC.BAT files.  
  34.  
  35.      b) Load some programs inside DESQview.  If a TSR doesn't 
  36. have to run before DESQview (obviously, some programs, like disk 
  37. caches and print spoolers, wouldn't serve their function when 
  38. loaded inside a window), it's much more memory-efficient to let 
  39. DESQview manage it.  Even some CONFIG.SYS drivers can be loaded 
  40. inside a DESQview window using DESQview's DEVICE.COM utility.
  41.  
  42.      c) If you have the Quarterdeck Expanded Memory Manager-386 
  43. (QEMM-386), or if you have expanded memory that can be mapped 
  44. freely in the area between 640K and 1024K and you have 
  45. Quarterdeck's QRAM.SYS utility, you may be able to decrease your 
  46. memory overhead by loading devices and TSR's into high memory.  
  47. (You may even be able to do this if you have an expanded memory 
  48. manager with its own high-loading capabilities, such as All 
  49. Computers' ALLEMM4.SYS for the All Chargecard.)  Any unused 
  50. address spaces between 640K and 1024K (different systems will 
  51. have different amounts of free space in this area) can be filled 
  52. with expanded memory and used to run small programs that would 
  53. otherwise occupy conventional memory.
  54.  
  55. It is worth remembering that DESQview loads itself high (with its 
  56. XDV.COM driver) in the same areas that QEMM-386 and QRAM use to 
  57. place drivers and TSR's.  If you place enough programs in high 
  58. memory before running DESQview, you will sooner or later reach a 
  59. point at which the high loading no longer increases your window 
  60. sizes inside DESQview, because DESQview will be forced to start 
  61. loading pieces of itself in low memory when high memory gets 
  62. crowded enough.  At this point one can sometimes get creative in 
  63. finding new places to put RAM in the reserved memory area between 
  64. 640K and 1024K.  Which brings us to the second reason that memory 
  65. figures inside DESQview may be falling short of expectations.
  66.  
  67. 2) On an extended or expanded memory system, less of DESQview may 
  68. be going into reserved memory than is possible.  To evaluate this 
  69. situation properly, it's helpful to have some experience with 
  70. DESQview's normal use of reserved memory.  A few rules of thumb 
  71. apply, however.
  72.  
  73.      a) On 80286 systems that have the first 64K of extended 
  74. memory free, DESQview's XDV.COM loader can put 63K of DESQview 
  75. code into extended memory if the QEXT.SYS driver is in the 
  76. CONFIG.SYS file.  On 80386 systems, QEMM-386 obtains the QEXT 
  77. effect automatically for you; if you are using another memory 
  78. manager, you may wish to tell it to leave behind 64K of extended 
  79. memory and use QEXT.SYS.  (Compaq's CEMM is also able to obtain 
  80. the QEXT effect without QEXT being present.)
  81.  
  82.      b) On some expanded memory systems DESQview can put some of 
  83. its code in unused video areas.  The A000-AFFF area (640K to 
  84. 704K) is used for EGA and VGA graphics, and should be available 
  85. if EGA and VGA graphics aren't used.  The B000-B7FF area (704K to 
  86. 736K) is used for monochrome text, and should be available on a 
  87. color system.  The B800-BFFF area (736K to 768K) is used for 
  88. color text (and sometimes for Hercules graphics), and should be 
  89. available on monochrome systems.  You can try including the 
  90. appropriate areas on your memory manager's CONFIG.SYS line.
  91.  
  92.      c) Some expanded memory managers (notably the Intel 
  93. Aboveboard Plus) only allow memory mapping to occur immediately 
  94. above the expanded memory page frame.  See our technical note on 
  95. the Aboveboard Plus for information on how to maximize this 
  96. mappable area.
  97.  
  98.      d) Adventurous users of QEMM-386 version 5.0 will notice 
  99. that the command
  100.  
  101.                QEMM ANALYSIS
  102.  
  103. gives a list of the different areas of memory that may be claimed 
  104. for DESQview and QEMM-386's LOADHI function to use. This utility, 
  105. which should be acted upon only after it has been run on several 
  106. occasions after you have run the full complement of programs that 
  107. you normally use, should give you an idea of which areas in your 
  108. system ROM may in fact be unused and available for including with 
  109. the QEMM-386 INCLUDE parameter.  There is an element of trial and 
  110. error to this process, but the rewards can be substantial.  Even 
  111. if you are using another memory manager or an earlier version of 
  112. QEMM-386, it may be possible through a series of blind attempts 
  113. to find unused ROM areas that can be included and used to 
  114. decrease your memory overhead.  The ROM area F000-F7FF, sometimes 
  115. used only by the ROM BASIC, is a favorite area to try including; 
  116. sometimes a slightly smaller inclusion, such as F200-F7FF, is 
  117. necessary.  If you guess incorrectly, your machine may not boot 
  118. properly, so you may wish to keep a bootable DOS diskette handy 
  119. during this process.
  120.  
  121. 3) Sometimes DESQview's Setup program contains excessive memory 
  122. allocations that cut down on DESQview's overall memory.  The two 
  123. field that are abused most often in this regard are both on the 
  124. Performance option of the Advanced Setup.
  125.  
  126. "Common Memory" is memory used by DESQview to manage its windows, 
  127. and the amount you need is usually proportionate to the number of 
  128. windows you open.  The default value is 17K; the minimum value of 
  129. 13K is adequate for users who open no more than five or six 
  130. windows at once.  Few users need more than 20K of common memory.
  131.  
  132. "DOS Buffers for EMS" is memory used by DESQview to manage file 
  133. operations into expanded memory.  The default value is 2K; users 
  134. of QEMM-386 who are not on a network can set this figure to 0K 
  135. with no loss of performance and a memory savings of about 5K.  
  136. The value of this field can affect the speed of disk access; 
  137. however, it is rarely worth while to choose a value higher than 
  138. 10K or 15K.
  139.  
  140. If you wish to throw away a few DESQview features, you can 
  141. probably scrimp a few more K from the Setup program.
  142.  
  143. On the Keyboard option, you can save as much as 12K if you tell 
  144. DESQview that you don't wish to use the Learn feature.  This will 
  145. disable DESQview's very useful macro system.
  146.  
  147. On the Video Monitor option, you can save anywhere from 0K to 16K 
  148. if you tell DESQview that you don't wish to display text and 
  149. graphics at the same time.  This will disable DESQview's Video 
  150. Options menu, prevent graphics programs from being seen when they 
  151. are in background, and prevent virtualization of graphics.
  152.  
  153. On the Performance option, you can save 2K by setting the "Manage 
  154. Printer Contention?" field to N.  (However, this field defaults 
  155. to N.)  This means that DESQview will not intervene to prevent 
  156. two programs from printing at the same time.
  157.  
  158.         Copyright (C) 1991 by Quarterdeck Office Systems
  159.              * * *   E N D   O F   F I L E    * * * 
  160.